﻿package com.bizmlib.utils
{
	
	public function rgbStringToNumber(value:String, prefix:String = undefined):Number
	{
		prefix = prefix || "#";
		value = "0x" + value.substr(value.indexOf(prefix) + prefix.length);
		return Number(value);
	}
}